package com.qf.mapper;

import com.qf.pojo.Owner;
import com.qf.vo.OwnerVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

/**
 * @author zdl
 * @date 2025/2/15
 */
public interface OwnerMapper {
    List<OwnerVo> selectAllOwnerWithRoomWithBuildingByBuildingNameOrOwenerName(@Param("buildingName") String buildingName, @Param("ownerName") String ownerName);

    int insertOwner(Owner owner);

    int delOwnerByOid(int oid);
}
